//
//  PSShowTextCell.h
//  Btpin
//
//  Created by Vic on 2019/3/24.
//  Copyright © 2019 Vic. All rights reserved.
//

#import <UIKit/UIKit.h>

@class PSShowTextCell;

@protocol PSShowTextCellDelegate <NSObject>
@optional
- (void)psShowTextCellTap:(PSShowTextCell *_Nullable)psShowTextCell;
@end

NS_ASSUME_NONNULL_BEGIN

@interface PSShowTextCell : UIView

@property (nonatomic, weak) id<PSShowTextCellDelegate>delegate;

- (instancetype)initWithFrame:(CGRect)frame target:(id)target psShowTextCellType:(PSShowTextCellType)type text:(nullable NSString *)text detail:(nullable NSString *)detail showIcon:(BOOL)showIcon rightText:(nullable NSString *)rightText showBottomLine:(BOOL)showBottomLine addBtn:(BOOL)addBtn;

- (void)reloadDataWithPSShowTextCellType:(PSShowTextCellType)type text:(nullable NSString *)text detail:(nullable NSString *)detail showIcon:(BOOL)showIcon rightText:(nullable NSString *)rightText showBottomLine:(BOOL)showBottomLine;

- (void)reloadDataForRightText:(NSString *)rightText;

@end

NS_ASSUME_NONNULL_END
